package cn.wolfcode.transfer.service;

import cn.wolfcode.transfer.domain.QuestionItem;
import cn.wolfcode.transfer.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IQuestionItemService {
    void save(QuestionItem questionItem);
    void delete(Long id);
    void update(QuestionItem questionItem);
    QuestionItem get(Long id);
    List<QuestionItem> listAll();
    //找出全部选项
    List<QuestionItem> listByQuestion(Long id);
    //找出正确选项
   QuestionItem getAnswers(Long id);

}
